<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/8/16
  Time: 15:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>-课题申请-教师列表-</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <script src="../layui/layui.js"></script>
    <script src="../js/jquery-3.1.0.js"></script>

    <style>
        body{background-color: #eeeeee;}
        .layui-row{background-color: white;margin: 10px;padding:10px;}
        select{border: 0.5px solid #eeeeee;}
    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">


        <%--面包屑--%>
        <div class="layui-row">
            <div class="layui-col-lg12">
                <span class="layui-breadcrumb">
                  <a href="http://localhost/admin/admin.jsp">首页</a>
                    <a class="" href="javascript:;">选题管理</a>
                    <a href="http://localhost/admin/title-teacher.jsp">课题申请-教师列表</a>
                </span>
            </div>
        </div>

        <%--顶部搜索栏--%>
        <div class="layui-row">
            <div class="layui-col-lg3" style="font-size: 16px;">
                <div class="layui-form-item">
                    <label class="layui-form-label">课题编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="xt_id" placeholder="请输入要查询课题的编号" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-lg1">
                <button type="button" class="layui-btn"><i class="layui-icon layui-icon-search" style="font-size: 20px; color: white;"></i>搜索</button>
            </div>
        </div>

        <%--中部操作栏--%>
        <div class="layui-row">
            <button type="button" class="layui-btn" id="titleTeacher-tadds-btn">批量导入课题和选题</button>
        </div>

        <%--数据表格--%>
        <div class="layui-row">
            <table id="titleTeacher-table" lay-filter="titleTeacher-table"></table>
            <div class="layui-fluid">
                <div class="layui-row layui-col-space15">

                </div>
            </div>
        </div>

</div>
</body>
<%--表内工具栏--%>
<script type="text/html" id="titleTeacherBtn">
    <a class="layui-btn layui-btn-xs" lay-event="titleT-check">审核</a>
    <a class="layui-btn layui-btn-xs" lay-event="titleT-query">查看</a>
</script>
<%--弹出层--批量导入页面--%>
<div class="layui-row" id="titleTeacher-tadds-box" style="margin: 20px;width:700px;height:200px;display: none">
    <form class="layui-form" action="" lay-filter="component-form-group">
        <div class="layui-form-item"><label class="layui-form-label">上传文件：</label><div class="layui-btn-container"><button type="button" class="layui-btn layui-btn-normal" id="titleTeacher-tfile-choose">选择文件</button><button type="button" class="layui-btn" id="titleTeacher-tfile-upload">开始上传</button></div></div>
        <div class="layui-form-item">
            <label class="layui-form-label">下载模板：</label>
            <div class="layui-input-block">
                <input type="text" name="tfile" placeholder="课题选题导入模板.xls" class="layui-input">
            </div>
        </div>
        <div class="layui-col-lg1 layui-col-lg-offset4">
            <button class="layui-btn" name="titleTeacher-upload-btn1" id="titleTeacher-upload-btn1" lay-event="upload">保存</button>
        </div>
        <div class="layui-col-lg1 layui-col-lg-offset1">
            <button class="layui-btn">取消</button>
        </div>
    </form>
</div>
<%--弹出层--查看页面--数据展示--%>
<div class="layui-row" id="titleTeacher-show-box" style="display: none">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <td colspan="4"><h2>选题详情</h2></td>
        </tr>
        </thead>
        <tbody id="task-detail-tbody">
        <tr>
            <td class="left">编号:</td>
            <td class="right" id="task-id"></td>
        </tr>
        <tr>
            <td class="left">标题:</td>
            <td class="right" id="task-title"></td>
            <td class="left">题目来源:</td>
            <td class="right" id="task-from"></td>
        </tr>
        <tr>
            <td class="left">申请教师工号号</td>
            <td class="right" id="task-tno"></td>
            <td class="left">申请时间</td>
            <td class="right" id="task-addtime"></td>

        </tr>
        <tr>
            <td class="left">题目类别:</td>
            <td class="right" id="task-category"></td>
            <td class="left">题目性质:</td>
            <td class="right" id="task-nature"></td>
        </tr>
        <tr>
            <td class="left">课题简介:</td>
            <td class="right" colspan="3" id="task-intr"></td>
        </tr>
        <tr>
            <td class="left">选题学院:</td>
            <td class="right" id="task-college"></td>
            <td class="left">选题专业:</td>
            <td class="right" id="task-major"></td>
        </tr>
        <tr>
            <td class="left">指导老师姓名:</td>
            <td class="right" id="task-teacherName"></td>
            <td class="left">指导老师编号:</td>
            <td class="right" id="task-teacherNO"></td>
        </tr>
        <tr>
            <td class="left">课题状态:</td>
            <td class="right" id="task-state"></td>
        </tr>
        <tr>
            <td class="left">审核意见:</td>
            <td class="right" id="task-opinion"></td>
        </tr>
        </tbody>
    </table>
</div>
<%--审核教师选题--%>
<div class="layui-row" id="check-task-teacher" style="display: none">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <td colspan="4"><h2>审核教师选题</h2></td>
        </tr>
        </thead>
        <tbody id="task-check-teacher-tbody">

        </tbody>
        <thead>

        <tr>
            <td class="left"><label for="check-opinion">审核意见：</label></td>
            <td class="right" colspan="3">
                <textarea id="check-opinion" placeholder="输入审核意见" autocomplete="off" class="layui-textarea"></textarea>
            </td>
        </tr>

        <tr>
            <td colspan="4" style="text-align: center">
                <button class="layui-btn layui-btn-primary layui-border-green layui-btn-radius" id="check-pass">
                    <i class="layui-icon layui-icon-ok-circle" style="font-size: 20px"></i> 通过
                </button>
                <button class="layui-btn layui-btn-primary layui-border-red layui-btn-radius" id="check-no-pass">
                    <i class="layui-icon layui-icon-close-fill" style="font-size: 20px;"></i> 不通过
                </button>
            </td>
        </tr>
        </thead>
    </table>
</div>

<script src="js/title-teacher.js"></script>
</html>
